package FloorComponents;

public class Proxy {

	private Grid _grid;
	private Wall[] _walls;
	private int index = 0;
	
	public Proxy(){
		_grid = new Grid(10,10);
		_walls = new Wall[25];
	}
	
	public void update(Grid g){
		_grid = g;
	}
	
	public Grid get(){
		return _grid;
	}
	
	public void addWall(Wall wall){
		_walls[index] = wall;
		index++;
	}
	
	public Wall[] getWall(){
		return _walls;
	}
	
}
